<?php
$host = "localhost";
$dbname = "maixanhspa";
$dbuser = "root";
$dbpwd = "";

$dbconn = mysql_connect($host, $dbuser, $dbpwd) or die(mysql_error().$host);
$db = mysql_select_db($dbname, $dbconn) or die(mysql_error().$host);
/////////////// Path
$sitePath            = "/maixanhspa/";

$rootPath = $_SERVER['DOCUMENT_ROOT'].$sitePath;
$base_url="http://localhost".$sitePath;
//--
$siteFCKeditorPath   = "FCKeditor/";

$tem_name = 'templates';

$tem_path = $rootPath.$tem_name;

$templates = $tem_path."/spa/";

$inner_templates = $tem_path."/_htmls/";

$adminPath = "admin/";

$url_admin = $base_url.$adminPath;

$DP = "bm_";

$upload_directory_mod = 755;

$upload_file_mod = 777;

///////////////// GET CONFIG ////////////
$sql_config = "SELECT * FROM {$DP}config";
$rs_config = mysql_query($sql_config);
$row_config = mysql_fetch_array($rs_config);
////// 
?>
